//时间方法
export const dataOne = (e) => {
  let d = new Date(e);
  let Y = d.getFullYear();
  let M = d.getMonth() + 1;
  let D = d.getDate();
  if (D < 10) {
    D = "0" + D;
  }
  if (M < 10) {
    M = "0" + M;
  }
  let dates = Y + '.' + M + '.' + D
  return dates;
}

//卡片背景色
export const cardColor = [
  'rgba(255,175,162,0.30)',
  'rgba(255,227,148,0.30)',
  'rgba(146,230,245,0.30)',
  'rgba(168,237,130,0.30)',
  'rgba(202,167,247,0.30)',
  'rgba(212,212,212,0.30)',
]